# Python 合并字符串
## 将列表中的字符串合并成一个字符串
list1 = ["c", "biancheng", "net"]
str1 = ".".join(list1)
print("str1 =", str1)

## 将元组中的字符串合并成一个字符串
dir = "", "usr", "bin", "env"
print("type(dir) =", type(dir))
str2 = "/".join(dir)
print("str2 =", str2)
